
add_executable(loader loader.cxx)
if(ANDROID)
    target_link_libraries(loader PRIVATE log)
endif()
target_link_libraries(loader PRIVATE simpCore)
if(HAVE_PTHREAD)
    target_link_libraries(loader PRIVATE pthread)
endif()
install(TARGETS loader ARCHIVE DESTINATION bin)

add_library(pluginA SHARED pluginA.cxx)
install(TARGETS pluginA LIBRARY DESTINATION plugins)

add_library(pluginB SHARED pluginB.cxx)
install(TARGETS pluginB LIBRARY DESTINATION plugins)
